{extend name="common/index" /}
{extend name="common/index" /}
{block name="css"}
<style>
    /*修改bootstrap表格边框颜色*/
    .table-bordered th,
    .table-bordered td {
        border: 1px solid #bbb !important;
        text-align:center;
    }
</style>
{/block}
{block name="content-wrapper"}
<section class="content-header">
    <h1>
        <a href="#" target="_blank">合作伙伴及工具数记录</a>
        <small>Records of partners and tools</small>
    </h1>
</section>
<section class="content container-fluid">
    <table class="table table-hover table-bordered">
        <tr>
            <td>序号</td>
            <td>时间</td>
            <td>商户数量</td>
            <td>门店数量</td>
            <td>收银员数量</td>
            <td>终端数量</td>
            <td>男收银员数量</td>
            <td>女收银员数量</td>
        </tr>
        {volist name='res' id='val'}
        <tr>
            <td class="col-md-1">{$val['id']}</td>
            <td class="col-md-1"><?php
                  echo  date('Y-m-d',strtotime($val['time'].'-1 day'))
            ?>
            <!-- {$val['time']} -->
            </td>
            <td class="col-md-2">{$val['merchant_num']}</td>
            <td class="col-md-2">{$val['store_num']}</td>
            <td class="col-md-2">{$val['cashier_num']}</td>
            <td class="col-md-2">{$val['terminal_num']}</td>
            <td class="col-md-1">{$val['man_num']}</td>
            <td class="col-md-1">{$val['men_num']}</td>
        </tr>
        {/volist}
    </table>
    <div style="text-align: right;">{$page}</div>
</section>
{/block}

{block name="introduce-js"}

{/block}
